Otys\OtysPlugin\Includes\Core\Routes A

Total Complexity 66
Dependencies 4
Dependents 11
Total lines 438
Lines of code 227
Logical lines of code 153
Comment lines 134
Methods 15
Properties 1

Methods 15

Method Rating Maintainability Complexity Lines of code
get()
A
49 13 28
checkRewrites()
A
53 9 20
locateTemplate()
S
58 7 15
getCurrentRoute()
S
59 6 11
createFakePage()
S
42 2 56
add()
S
54 4 20
throwError()
S
55 4 19
runInitCallback()
S
64 5 9
checkRoute()
S
62 5 9
checkPage()
S
67 3 8
checkRobots()
S
69 2 7
checkCanonical()
S
69 2 7
initRewriteRules()
S
72 2 5
__construct()
S
65 1 8
addQueryVars()
S
73 1 5